package com.blu.blutemperaturecontrol.base;

import android.app.Application;

import com.blu.blutemperaturecontrol.utils.CrashHandler;

import me.jessyan.autosize.AutoSizeConfig;


/**
 * Created by wujinguang on 2016/5/16.
 */
public class MyApplication extends Application {
    private static MyApplication instance;


    @Override
    public void onCreate() {
        super.onCreate();
        instance = this;
        //崩溃日志
        CrashHandler.getInstance().init(this);
        //开启支持 Fragment 自定义参数的功能
        AutoSizeConfig.getInstance().setCustomFragment(true);
    }

    public static MyApplication getInstance() {
        return instance;
    }


}
